<h3 class="detail_tit"><i class="ico_baseinfo"></i>订单基本信息</h3>
<table class="order_baseinfo" border="0" cellspacing="0" cellpadding="0">
  <tr>
	<th scope="col" width="215">状 态</th>
	<th scope="col" width="190">出发日期</th>
	<th scope="col">预订人数</th>
  </tr>
  <tr>
	<td><?php if($orderInfo['order_status'] == 0 && in_array($orderInfo['pay_status'], array(2,4))){?>已生效<?php }else{?>未生效<?php }?></td>
	<td><?php if($orderInfo['travel_date'] == '0000-00-00 00:00:00'){?>待定<?php }else{?><?php echo date("Y-m-d", strtotime($orderInfo['travel_date']));?><?php }?></td>
	<td><?php echo $orderInfo['sell_num'];?>人</td>
  </tr>
</table>
<h3 class="detail_tit"><i class="ico_contact"></i>联系人信息</h3>
<table class="order_contact" border="0" cellspacing="0" cellpadding="0">
  <tr>
	<th scope="col" width="215">姓 名</th>
	<th scope="col" width="190">电话</th>
	<th scope="col" width="190">邮箱</th>
	<th scope="col">地址</th>
  </tr>
  <tr>
	<td><?php echo $userData['username'];?></td>
	<td><?php echo $userData['mobile'];?></td>
	<td><?php echo $userData['email'];?></td>
	<td><?php if(empty($userData['addr'])){?>暂无地址<?php }else{?><?php echo $userData['addr'];?><?php }?></td>
  </tr>
</table>
<h3 class="detail_tit"><i class="ico_tour"></i>旅客信息</h3>
<table class="order_tour" border="0" cellspacing="0" cellpadding="0">
  <tr>
	<th scope="col" width="80"></th>
	<th scope="col" width="90">中文名称</th>
	<th scope="col" width="110">英文姓名</th>
	<th scope="col" width="70">性别</th>
	<th scope="col" width="90">证件类型</th>
	<th scope="col" width="140">证件号码</th>
	<th scope="col" width="120">出生日期</th>
	<th scope="col" width="125">证件有效期</th>
	<th scope="col">手机</th>
  </tr>
  <?php foreach($passagerInfo as $value){?>
  <tr>
	<td><span>旅客1</span></td>
	<td><?php echo $value['passenger_name'];?></td>
	<td><?php echo $value['passenger_first'].' '.$value['passenger_second'];?></td>
	<td><?php if($value['sex'] == 0){?>男<?php }else{?>女<?php }?></td>
	<td><?php if($value['certification_type'] == 0){?>护照<?php }else{?>身份证<?php }?></td>
	<td><?php echo $value['certification_number'];?></td>
	<td><?php echo date("Y-m-d", strtotime($value['birthday']));?></td>
	<td><?php echo date("Y-m-d", strtotime($value['cartification_date']));?></td>
	<td><?php echo $value['mobile'];?></td>
  </tr>
  <?php }?>
</table>